* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box; 
  font-style: normal;
}

#service {
  position: fixed;
  bottom: 50px;
}

.loading {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
  background-color: rgb(4, 28, 45);
}

.loading .loading-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 128px;
  left: 0;
  background: url(../img/bg.png) center bottom no-repeat;
  background-size: 100%;
}

.loading .loading-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 128px;
  background-color: #fff;
}

body {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  padding-top: 60px;
}

li {
  list-style-type: none;
}

header {
  height: 60px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #021c2b;
  padding: 0 6px;
  font-size: 0px;
  line-height: 60px;
  z-index: 2;
}

.logo {
  display: inline-block;
  height: 60px;
  width: 160px;
  margin-right: 20px;
}

header .logo img {
  width: 46px;
  position: relative;
  margin-top: 7px;
  margin-right: 10px;
}

header .logo span {
  font-size: 20px;
  vertical-align: top;
  color: #1EB2F6;
}

header .product {
  display: inline-block;
  height: 50px;
  width: 200px;
  border-radius: 3px;
  background-color: #062b3f;
  border: solid 1px #235774;
  vertical-align: top;
  position: relative;
  top: 5px;
  cursor: pointer;
  padding-left: 20px;
  color: #fff;
  font-size: 20px;
  line-height: 50px;
}

header .product i {
  position: absolute;
  top: 20px;
  right: 10px;
  display: inline-block;
  width:0;
  height:0;
  border-width:0 10px 10px;
  border-style:solid;
  border-color:transparent transparent #fff;
}

.body {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0 260px 0 60px;
}

.menu {
  width: 60px;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  padding-top: 10px;
  background-color: #042335;
  box-shadow: inset -1px 0 0 0 #021c2b, inset -2px 0 0 0 #0d415e;
  z-index: 3;
}

.menu li {
  width: 60px;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
}

.menu li img {
  width: 30px;
}

.menu li p {
  line-height: 1;
  font-size: 12px;
  color: #4c6e88;
}

.trade {
  width: 260px;
  height: 100%;
  padding-top: 292px;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #042335;
  box-shadow: inset 1px 0 0 0 #021c2b, inset 2px 0 0 0 #0d415e;
}

.trade .history {
  padding: 0 14px;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.trade-header {
  position: absolute;
  top: 20px;
  left: 0px;
  width: 100%;
  height: 272px;
}

.chat {
  width: 100%;
  height: 100%;
  background-color: #0882a1;
  font-size: 100px;
  color: #000;
  text-align: center;
  line-height: 200px;
  position: relative;
}

iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.direction {
  padding: 0 14px;
  font-size: 0px;
  position: relative;
  margin-bottom: 20px;
}

.direction .direction-division {
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -14px;
  width: 28px;
  height: 30px;
  background: #042335;
  transform: skew(-20deg);
  -webkit-transform: skew(-20deg);
  border-left: 1px solid #4c6e88;
  border-right: 1px solid #4c6e88;
}

.direction .direction-item.purchase {
  margin-right: 16px;
}

.direction.active-purchase .direction-item.purchase {
  border-color: #e65252;
  background: #e65252;
  color: #fff;
}

.direction.active-purchase .direction-division {
  border-left: 1px solid #e65252;
}

.direction.active-sell-out .direction-item.sell-out {
  border-color: #48b147;
  background: #48b147;
  color: #fff;
}

.direction.active-sell-out .direction-division {
  border-right: 1px solid #48b147;
}

.direction .direction-item {
  width: 108px;
  display: inline-block;
  font-size: 12px;
  height: 30px;
  border: 1px solid #4c6e88; 
  text-align: center;
  line-height: 30px;
  color: #4c6e88;
  cursor: pointer;
}

.trade .input {
  padding: 0 14px;
  margin-bottom: 10px;
}

.trade .input p {
  font-size: 12px;
  color: #4c6e88;
  margin-bottom: 4px;
}

.trade .input input {
  color: #fff;
  font-size: 12px;
  border: 1px solid #4c6e88;
  outline: none;
  background: none;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
  width: 100%;
}

.trade .trade-btn-wrap {
  padding: 20px 14px;
}

.trade .trade-btn {
  width: 100%;
  font-size: 18px;
  line-height: 60px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  height: 60px;
  border-radius: 3px;
  background-color: #e65252;
}

.varieties-wrap {
  height: 400px;
  position: fixed;
  top: 60px;
  left: 186px;
  z-index: 1;
  width: 50%;
  border-radius: 3px;
  background-image: linear-gradient(to bottom, #042233, #021c2b);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  padding: 20px;
  -webkit-transform: translate3d(0, -410px, 0);
  transform: translate3d(0, -410px, 0);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.varieties-wrap.open-varieties {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.varieties-wrap span {
  display: inline-block;
  width: 100px;
  height: 30px;
  border-radius: 3px;
  text-align: center;
  color: #4c6e88;
  border: 1px solid #4c6e88;
  line-height: 30px;
  margin: 0 10px 10px 0;
  cursor: pointer; 
}

.varieties-wrap span:hover {
  color: #1EB2F6;
  border: 1px solid #1EB2F6;
}

.menu-body {
  height: 100%;
  position: fixed;
  top: 60px;
  left: 60px;
  z-index: 1;
  width: 340px;
  background-color: #062b3f;
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.3);
  padding: 20px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: translate3d(-350px, 0, 0);
  transform: translate3d(-350px, 0, 0);
}

.menu-body p {
  font-size: 12px;
  color: #4c6e88;
  margin-bottom: 10px;
}

.menu-body.open-menu-body {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.menu-header {
  height: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid #4c6e88;
  margin-bottom: 20px;
}

.menu-header span {
  font-size: 16px;
  color: #169dbf;
}

.menu-header img {
  cursor: pointer;
  width: 16px;
  float: right;
  position: relative;
  top: 5px;
}

.menu-footer div {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid #7b96ab17;
}

.menu-footer div:last-child {
  border-bottom: none;
}

.menu-footer div span:last-child {
  float: right;
}

.history div {
  font-size: 12px;
  margin-bottom: 10px;
  color: #4c6e88;
}

.history div span {
  color: rgb(75, 152, 252);
  cursor: pointer;
}

.address {
  height: 60px;
  display: inline-block;
  float: right;
  line-height: 60px;
  font-size: 12px;
  color: #4c6e88;
}

#vote-footer span {
  display: inline-block;
  width: 80px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #4c6e88;
  color: #4c6e88;
  text-align: center;
  margin-right: 20px;
  cursor: pointer;
  border-radius: 3px;
}

#vote-footer .active {
  color: #fff;
  border: 1px solid #fff;
}

.vote-btn {
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-radius: 3px;
  color: #fff;
  background-color: #e65252;
  text-align: center;
  cursor: pointer;
  margin-top: 30px;
}

.doubt {
  font-size: 13px;
  height: 16px;
  width: 16px;
  border-radius: 8px;
  display: inline-block;
  background-color: #4c6e88;
  color: #042335;
  line-height: 16px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.matchmaking {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 18px;
  margin: 0 6px 0 20px;
  cursor: pointer;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  background-color: #48b147;
}

#exchange-assets p, #menu-footer p {
  font-size: 14px;
  color: #48b147;
  text-align: center;
}

.exchange-assets-item span {
  display: inline-block;
  width: 134px;
}

.exchange-assets-item a {
  display: inline-block;
  cursor: pointer;
}

.toast {
  width: 80%;
  height: auto;
  padding: 5px 0;
  position: fixed;
  z-index: 10000;
  top: 50px;
  left: 10%;
  font-size: 14px;
  color: #fff;
  background-color: #169dbf;
  border-radius: 3px;
  text-align: center;
  opacity: 0;
  transition: opacity 2s;
  -moz-transition: opacity 2s; /* Firefox 4 */
  -webkit-transition: opacity 2s; /* Safari 和 Chrome */
  -o-transition: opacity 2s; /* Opera */
  display: none;
}

.toast-show {
  opacity: 1;
}

.loading-flags {
  font-size: 16px;
  color: rgb(76, 111, 136);
  padding-top: 20px;
  padding-left: 20px;
}
.loading-flags a {
  font-weight: 600;
  color: rgb(18, 83, 154);
}

.go {
  position: absolute;
  height: 50px;
  width: 120px;
  background: rgb(52, 184, 244);
  border-radius: 3px;
  line-height: 50px;
  text-align: center;
  top: 39px;
  right: 100px;
  cursor: pointer;
  color: #fff;
}

.loading-flags .red {
  color: rgb(52, 184, 244);
}